package com.atguigu.gulimall.product.service;

import com.atguigu.common.utils.PageUtils;
import com.atguigu.gulimall.product.entity.AttrGroupEntity;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Map;

/**
 * 属性分组
 *
 * @author DoGH
 * @date 2023-10-25 10:37:42
 */
public interface AttrGroupService extends IService<AttrGroupEntity> {

    PageUtils queryPage(Map<String, Object> params);

    /**
     * 通过catelog_id获取属性分组
     *
     * @param params    参数
     * @param catelogId 分类 ID
     * @return {@link PageUtils }
     * @author DuGuanghan
     * @since 2024-01-10 10:34:32
     */
    PageUtils queryPageByCatelogId(Map<String, Object> params, Long catelogId);
}

